extends ../../layout
block content
    .container
        .row
            .col-md-8.col-md-offset-2
                .panel.panel-default
                    .panel-header
                        h2 #{client.name} 详情
                    .panel-body

                        h4 app name: #{client.name}
                        h4 app key: #{client.key}
                        h4 app secret: #{client.secret}
                        h4 app redirect: #{client.redirect_uri}
                        h4 创建时间:#{client.created}
                        h4 失效: #{client.invoked = false ? "失效": "有效"}
                    
                        a.btn.btn-default.margin-5(href="/oauth/client/" + client.id +"/edit") 编辑
                        a.btn.btn-warning.margin-5(href="/oauth/client/" + client.id +"/destroy") 删除

                               